package com.ktgj.flight.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 航线信息维护对象 flight
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public class Flight extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出发机场航站楼 */
    @Excel(name = "出发机场航站楼")
    private String depTerm;

    /** 到达机场航站楼 */
    @Excel(name = "到达机场航站楼")
    private String arrTerm;

    /** 航班准点率 */
    @Excel(name = "航班准点率")
    private String punctualityRate;

    /** 0非共享，1共享航班 */
    @Excel(name = "0非共享，1共享航班")
    private String isCodeShare;

    /** 实际承运航班 */
    @Excel(name = "实际承运航班")
    private String carrierFlight;

    /** 航班ID */
    private Long flightId;

    /** 航空公司代码 */
    @Excel(name = "航空公司代码")
    private String airlinerId;

    /** 机型编码 */
    @Excel(name = "机型编码")
    private String planeTypeId;

    /** 出发城市 */
    @Excel(name = "出发城市")
    private String departure;

    /** 目的城市 */
    @Excel(name = "目的城市")
    private String arrival;

    /** 航班 */
    @Excel(name = "航班")
    private String flight;

    /** 出发时间 */
    @Excel(name = "出发时间")
    private String departureTime;

    /** 到达时间 */
    @Excel(name = "到达时间")
    private String arrivalTime;

    /** 餐食 */
    @Excel(name = "餐食")
    private String food;

    /** 燃油附加 */
    @Excel(name = "燃油附加")
    private String fuelFee;

    /** 机场建设 */
    @Excel(name = "机场建设")
    private String airportFee;

    /** 电子客票 */
    @Excel(name = "电子客票")
    private String ifEticket;

    /** 经停 */
    @Excel(name = "经停")
    private String stop;

    /** 经停城市 */
    @Excel(name = "经停城市")
    private String stopCity;

    /** 经停时间 */
    @Excel(name = "经停时间")
    private String stopTime;

    /** 经停说明 */
    @Excel(name = "经停说明")
    private String stopDesc;

    /** 座位情况 */
    @Excel(name = "座位情况")
    private String seatDesc;

    /** 周期 */
    @Excel(name = "周期")
    private String period;

    /** 全价 */
    @Excel(name = "全价")
    private BigDecimal fullPrice;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isUsed;

    /** 公里数 */
    @Excel(name = "公里数")
    private Long distance;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 修改经停城市时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改经停城市时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatestoptime;

    public void setDepTerm(String depTerm) 
    {
        this.depTerm = depTerm;
    }

    public String getDepTerm() 
    {
        return depTerm;
    }
    public void setArrTerm(String arrTerm) 
    {
        this.arrTerm = arrTerm;
    }

    public String getArrTerm() 
    {
        return arrTerm;
    }
    public void setPunctualityRate(String punctualityRate) 
    {
        this.punctualityRate = punctualityRate;
    }

    public String getPunctualityRate() 
    {
        return punctualityRate;
    }
    public void setIsCodeShare(String isCodeShare) 
    {
        this.isCodeShare = isCodeShare;
    }

    public String getIsCodeShare() 
    {
        return isCodeShare;
    }
    public void setCarrierFlight(String carrierFlight) 
    {
        this.carrierFlight = carrierFlight;
    }

    public String getCarrierFlight() 
    {
        return carrierFlight;
    }
    public void setFlightId(Long flightId) 
    {
        this.flightId = flightId;
    }

    public Long getFlightId() 
    {
        return flightId;
    }
    public void setAirlinerId(String airlinerId) 
    {
        this.airlinerId = airlinerId;
    }

    public String getAirlinerId() 
    {
        return airlinerId;
    }
    public void setPlaneTypeId(String planeTypeId) 
    {
        this.planeTypeId = planeTypeId;
    }

    public String getPlaneTypeId() 
    {
        return planeTypeId;
    }
    public void setDeparture(String departure) 
    {
        this.departure = departure;
    }

    public String getDeparture() 
    {
        return departure;
    }
    public void setArrival(String arrival) 
    {
        this.arrival = arrival;
    }

    public String getArrival() 
    {
        return arrival;
    }
    public void setFlight(String flight) 
    {
        this.flight = flight;
    }

    public String getFlight() 
    {
        return flight;
    }
    public void setDepartureTime(String departureTime) 
    {
        this.departureTime = departureTime;
    }

    public String getDepartureTime() 
    {
        return departureTime;
    }
    public void setArrivalTime(String arrivalTime) 
    {
        this.arrivalTime = arrivalTime;
    }

    public String getArrivalTime() 
    {
        return arrivalTime;
    }
    public void setFood(String food) 
    {
        this.food = food;
    }

    public String getFood() 
    {
        return food;
    }
    public void setFuelFee(String fuelFee) 
    {
        this.fuelFee = fuelFee;
    }

    public String getFuelFee() 
    {
        return fuelFee;
    }
    public void setAirportFee(String airportFee) 
    {
        this.airportFee = airportFee;
    }

    public String getAirportFee() 
    {
        return airportFee;
    }
    public void setIfEticket(String ifEticket) 
    {
        this.ifEticket = ifEticket;
    }

    public String getIfEticket() 
    {
        return ifEticket;
    }
    public void setStop(String stop) 
    {
        this.stop = stop;
    }

    public String getStop() 
    {
        return stop;
    }
    public void setStopCity(String stopCity) 
    {
        this.stopCity = stopCity;
    }

    public String getStopCity() 
    {
        return stopCity;
    }
    public void setStopTime(String stopTime) 
    {
        this.stopTime = stopTime;
    }

    public String getStopTime() 
    {
        return stopTime;
    }
    public void setStopDesc(String stopDesc) 
    {
        this.stopDesc = stopDesc;
    }

    public String getStopDesc() 
    {
        return stopDesc;
    }
    public void setSeatDesc(String seatDesc) 
    {
        this.seatDesc = seatDesc;
    }

    public String getSeatDesc() 
    {
        return seatDesc;
    }
    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }
    public void setFullPrice(BigDecimal fullPrice) 
    {
        this.fullPrice = fullPrice;
    }

    public BigDecimal getFullPrice() 
    {
        return fullPrice;
    }
    public void setIsUsed(String isUsed) 
    {
        this.isUsed = isUsed;
    }

    public String getIsUsed() 
    {
        return isUsed;
    }
    public void setDistance(Long distance) 
    {
        this.distance = distance;
    }

    public Long getDistance() 
    {
        return distance;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setUpdatestoptime(Date updatestoptime) 
    {
        this.updatestoptime = updatestoptime;
    }

    public Date getUpdatestoptime() 
    {
        return updatestoptime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("depTerm", getDepTerm())
            .append("arrTerm", getArrTerm())
            .append("punctualityRate", getPunctualityRate())
            .append("isCodeShare", getIsCodeShare())
            .append("carrierFlight", getCarrierFlight())
            .append("flightId", getFlightId())
            .append("airlinerId", getAirlinerId())
            .append("planeTypeId", getPlaneTypeId())
            .append("departure", getDeparture())
            .append("arrival", getArrival())
            .append("flight", getFlight())
            .append("departureTime", getDepartureTime())
            .append("arrivalTime", getArrivalTime())
            .append("food", getFood())
            .append("fuelFee", getFuelFee())
            .append("airportFee", getAirportFee())
            .append("ifEticket", getIfEticket())
            .append("stop", getStop())
            .append("stopCity", getStopCity())
            .append("stopTime", getStopTime())
            .append("stopDesc", getStopDesc())
            .append("seatDesc", getSeatDesc())
            .append("period", getPeriod())
            .append("fullPrice", getFullPrice())
            .append("isUsed", getIsUsed())
            .append("distance", getDistance())
            .append("addtime", getAddtime())
            .append("updatestoptime", getUpdatestoptime())
            .toString();
    }
}
